package com.gljx.web.service.impl;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.JournalEntry.lCarRefuelingJournal;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.gljx.web.Entity.OtherCarAddOilEntry;
import com.gljx.web.dao.OtherCarAddOilEntryMapper;
import com.gljx.web.service.OtherCarAddOilEntryService;

@Service
@Transactional
public class OtherCarAddOilEntryServiceImpl implements OtherCarAddOilEntryService {

	@Autowired
	private OtherCarAddOilEntryMapper otherCarAddOilEntryMapper;
	
	
	@Override
	public Double selOtherCarAddOil(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return otherCarAddOilEntryMapper.selOtherCarAddOil(map);
	}


	@Override
	public Double selOtherCarAddOils(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return otherCarAddOilEntryMapper.selOtherCarAddOils(map);
	}


	@Override
	public List<OtherCarAddOilEntry> selOtherCarAddOilEntry(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return otherCarAddOilEntryMapper.selOtherCarAddOilEntry(map);
	}

    @Override
    public List<lCarRefuelingJournal> selectofMonthAscarRefuelEntry(Map map) {
        return otherCarAddOilEntryMapper.selectofMonth(map);
    }

    
	@Override
	public List<OtherCarAddOilEntry> selOtherCarAddOilForJournal(Map<String, String> map3) {
		// TODO Auto-generated method stub
		return otherCarAddOilEntryMapper.selOtherCarAddOilForJournal(map3);
	}

}
